#ifndef __ADC_DRIVER_H__
#define __ADC_DRIVER_H__

#include <stdio.h>
#include <string.h>
#include "app_log.h"
#include "app_adc.h"
#include "app_adc_dma.h"
#include "app_io.h"
#include "board_SK.h"



#define APP_ADC_P_INPUT_PIN             MSIO_PIN_0
#define APP_ADC_P_INPUT_PIN_MUX         APP_IO_MUX_7
#define APP_ADC_N_INPUT_PIN             MSIO_PIN_1
#define APP_ADC_N_INPUT_PIN_MUX         APP_IO_MUX_7



void user_adc_init(void);
int readMagneticData(void);
int adc_loop(void);



#endif


